package com.pig4cloud.pigx.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 当前登录人资金余额
 */
@Data
public class LoginUserFuelConsumeVO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * 消耗的燃油数量
	 */
	@ApiModelProperty(value="消耗的燃油数量")
	private BigDecimal fuelQuantity;

	/**
	 * 产生燃料的类型
	 */
	@ApiModelProperty(value="产生燃料的类型")
	private String type;

	/**
	 * 策略名称
	 */
	@ApiModelProperty(value="策略名称")
	private String strategyName;

	/**
	 * 订单id
	 */
	@ApiModelProperty(value="订单id")
	private Long orderId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建时间")
	private LocalDateTime createTime;

}
